﻿Imports System
Imports System.Collections.Generic

Namespace System.Workflow.Activities.Rules
    <Serializable> _
    Public MustInherit Class RuleCondition
        ' Methods
        Protected Sub New()
        End Sub

        Public MustOverride Function Clone() As RuleCondition

        Public MustOverride Function Evaluate(ByVal execution As RuleExecution) As Boolean

        Public MustOverride Function GetDependencies(ByVal validation As RuleValidation) As ICollection([Of] String)

        Public Overridable Sub OnRuntimeInitialized()
        End Sub

        Public MustOverride Function Validate(ByVal validation As RuleValidation) As Boolean


        ' Properties
        Public MustOverride Property Name As String

    End Class
End Namespace

